package com.boomsecret.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.boomsecret.domain.User;

import java.util.ArrayList;
import java.util.List;

/**
 * @author wangjinliang on 2019/1/25.
 */
@Service(version = "1.0.0", timeout = 10000, interfaceClass = UserService.class)
@org.springframework.stereotype.Service
public class UserServiceImpl implements UserService {
    @Override
    public List<User> getUsers() {
        List<User> users = new ArrayList<>();
        users.add(new User("tom-8082", 11));
        users.add(new User("jack-8082", 11));
        return users;
    }
}
